From f65a9ad05ce96d39405921b56f2d46a11337ac4a Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Fri, 17 Jul 2015 17:51:15 +0100 Subject: [PATCH] tools/libxc: Identify the path of the kernel image which cannot be found Signed-off-by: Andrew Cooper CC: Ian Campbell CC: Ian Jackson CC: Wei Liu Acked-by: Ian Campbell Acked-by: Wei Liu --- tools/libxc/xg_private.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libxc/xg_private.c b/tools/libxc/xg_private.c index c52cb44e86..507b205bf7 100644 --- a/tools/libxc/xg_private.c +++ b/tools/libxc/xg_private.c @@ -37,7 +37,7 @@ char *xc_read_image(xc_interface *xch, if ( (kernel_fd = open(filename, O_RDONLY)) < 0 ) { - PERROR("Could not open kernel image"); + PERROR("Could not open kernel image '%s'", filename); goto out; } -- 2.30.2